package com.wkbb.sports.service;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.base.BaseService;
import com.wkbb.common.dto.wx.AccountDto;
import com.wkbb.common.dto.wx.AccountInfoDto;
import com.wkbb.sports.model.Account;

import java.util.List;
import java.util.Map;


public interface AccountService extends BaseService<Account> {

    PageInfo<AccountInfoDto> getAccountDtoPageList(Map<String, Object> params, Integer pageNo, Integer pageSize) throws Exception;

    void addAccount(AccountDto accountDto) throws Exception;

    void updateAccount(AccountDto accountDto) throws Exception;

    List<Account> getAccountList(Map<String, Object> params);

    List<AccountDto> getAccountDtoList(Map<String, Object> params) throws Exception;

    void deleteWxAccount(Long orgId);

    List<AccountInfoDto> getAccountInfoList(String orgIds);

    AccountInfoDto getAccountInfo(Long id);
}
